package com.hsnn.medstgmini.trading.pur.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
 * @category 历史订单明细bean
 * @author 韩守松
 * @date 2015年8月1日
 */
@Entity
@Table(name = "pur_orderinfo_old")
public class PurOrderInfoOld {
	private String orderId;// 订单明细id
	private String orderCode;// 订单编号
	private String hospId;// 采购医疗机构ID
	private String userId;// 采购用户ID
	private String goodsCode;// 商品号
	private Double proPrice;// 采购价
	private Integer proCount;// 采购数量
	private String delCompId;// 配送企业id
	private Timestamp joinPlanTime;// 加入计划时间
	private String joinPlanUser;// 加入计划人
	private Timestamp submitDatetime;// 提交时间
	private String submitUser;// 提交人
	private String recpAddrId;// 送货地址ID
	private Timestamp orderBegTime;// 订单开始时间
	private Timestamp orderEndTime;// 订单截止时间
	private String remarks;// 备注
	private String orderPackId;// 订单包号
	private Short orderStatus;// 订单状态1提交2确认3无法配送
	private Timestamp orderConfEndTime;// 订单确认截止时间
	private Timestamp orderTelEndTime;// 订单配送截止时间
	private Short archiveType;// 归档原因
	private Timestamp archiveDate;// 归档时间

	public PurOrderInfoOld() {
	}

	@Column(name = "order_id")
	public String getOrderId() {
		return orderId;
	}

	@Column(name = "order_code")
	public String getOrderCode() {
		return orderCode;
	}

	@Column(name = "hosp_id")
	public String getHospId() {
		return hospId;
	}

	@Column(name = "user_id")
	public String getUserId() {
		return userId;
	}

	@Column(name = "goods_code")
	public String getGoodsCode() {
		return goodsCode;
	}

	@Column(name = "pro_price")
	public Double getProPrice() {
		return proPrice;
	}

	@Column(name = "pro_count")
	public Integer getProCount() {
		return proCount;
	}

	@Column(name = "del_comp_id")
	public String getDelCompId() {
		return delCompId;
	}

	@Column(name = "join_plan_time")
	public Timestamp getJoinPlanTime() {
		return joinPlanTime;
	}

	@Column(name = "join_plan_user")
	public String getJoinPlanUser() {
		return joinPlanUser;
	}

	@Column(name = "submit_datetime")
	public Timestamp getSubmitDatetime() {
		return submitDatetime;
	}

	@Column(name = "submit_user")
	public String getSubmitUser() {
		return submitUser;
	}

	@Column(name = "recp_addr_id")
	public String getRecpAddrId() {
		return recpAddrId;
	}

	@Column(name = "order_beg_time")
	public Timestamp getOrderBegTime() {
		return orderBegTime;
	}

	@Column(name = "order_end_time")
	public Timestamp getOrderEndTime() {
		return orderEndTime;
	}

	@Column(name = "remarks")
	public String getRemarks() {
		return remarks;
	}

	@Column(name = "order_pack_id")
	public String getOrderPackId() {
		return orderPackId;
	}

	@Column(name = "order_status")
	public Short getOrderStatus() {
		return orderStatus;
	}

	@Column(name = "order_conf_end_time")
	public Timestamp getOrderConfEndTime() {
		return orderConfEndTime;
	}

	@Column(name = "order_del_end_time")
	public Timestamp getOrderTelEndTime() {
		return orderTelEndTime;
	}

	@Column(name = "archive_type")
	public Short getArchiveType() {
		return archiveType;
	}

	@Column(name = "archive_date")
	public Timestamp getArchiveDate() {
		return archiveDate;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public void setHospId(String hospId) {
		this.hospId = hospId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public void setProPrice(Double proPrice) {
		this.proPrice = proPrice;
	}

	public void setProCount(Integer proCount) {
		this.proCount = proCount;
	}

	public void setDelCompId(String delCompId) {
		this.delCompId = delCompId;
	}

	public void setJoinPlanTime(Timestamp joinPlanTime) {
		this.joinPlanTime = joinPlanTime;
	}

	public void setJoinPlanUser(String joinPlanUser) {
		this.joinPlanUser = joinPlanUser;
	}

	public void setSubmitDatetime(Timestamp submitDatetime) {
		this.submitDatetime = submitDatetime;
	}

	public void setSubmitUser(String submitUser) {
		this.submitUser = submitUser;
	}

	public void setRecpAddrId(String recpAddrId) {
		this.recpAddrId = recpAddrId;
	}

	public void setOrderBegTime(Timestamp orderBegTime) {
		this.orderBegTime = orderBegTime;
	}

	public void setOrderEndTime(Timestamp orderEndTime) {
		this.orderEndTime = orderEndTime;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public void setOrderPackId(String orderPackId) {
		this.orderPackId = orderPackId;
	}

	public void setOrderStatus(Short orderStatus) {
		this.orderStatus = orderStatus;
	}

	public void setOrderConfEndTime(Timestamp orderConfEndTime) {
		this.orderConfEndTime = orderConfEndTime;
	}

	public void setOrderTelEndTime(Timestamp orderTelEndTime) {
		this.orderTelEndTime = orderTelEndTime;
	}

	public void setArchiveType(Short archiveType) {
		this.archiveType = archiveType;
	}

	public void setArchiveDate(Timestamp archiveDate) {
		this.archiveDate = archiveDate;
	}

}
